package cn.net.xyan.text.view

import cn.net.xyan.text.app.Styles
import tornadofx.*

class MainView : View("Hello TornadoFX") {
    override fun onUndock() {
        super.onUndock()
        println("on undock")
    }

    override fun onDelete() {
        super.onDelete()
        println("on delete")
    }

    override val root = hbox {
        label(title) {
            addClass(Styles.heading)
        }
    }
}